<template>
  <el-container class="content">
    <el-header class="header">
      <Header />
    </el-header>
    <el-main class="main">
      <NuxtPage />
    </el-main>
    <el-footer class="footer">
      <Footer />
    </el-footer>
  </el-container>
</template>
<script setup>
import Header from "@/components/header.vue";
import Footer from "@/components/footer.vue";
</script>

<style lang="scss" scoped>
.max-width {
  width: 100%;
  max-width: 1272px;
  margin: 0 auto;
}

.content {
  width: 100%;
  height: 100%;
  position: relative;
}

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 60px;
  background: #201d20;
}
.header {
  position: fixed;
  z-index: 999;
  height: 60px;
  width: 100%;
  display: flex;
  justify-content: center;
  background: #201d20;
}

.footer {
  height: auto;
  color: #fff;
}

.main {
  width: 100%;
  height: 100%;
  margin-top: 60px;
  padding: 0;
}
</style>
